package com.dailyblue.java.spring.project.smbms.commons.service.impl;

import com.dailyblue.java.spring.project.smbms.commons.mapper.StocksMapper;
import com.dailyblue.java.spring.project.smbms.commons.service.StocksService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StocksServiceImpl implements StocksService {
    @Resource
    private StocksMapper stocksMapper;

    @Override
    public void updateStock(int bid, int num) {
        stocksMapper.updateStock(bid, num);
    }
}
